<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Class Links extends Modules_Controller
 * @author era
 * 外链
 */
class Links extends Modules_Controller{

	protected $rules = array(
		"rule" => array(
			array(
				'field'   => 'title',
				'label'   => '标题',
				'rules'   => 'trim|required'
			),
			array(
				'field'   => 'link',
				'label'   => '链接',
				'rules'   => 'trim|required|is_url'
			),array(
				"field" => "timeline",
				"label" => '时间',
				"rules" => "trim|strtotime"
			)
		)
	);

}
